package com.health.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 *
 * @Description: 规则模型
 * @author: user
 */
@Data
@TableName("mules")
public class Mules implements Serializable{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键")
	@TableId(value = "id", type = IdType.AUTO) //主键注解
	private Long id;

	@ApiModelProperty(value = "名称")
	@TableField("name")
	private String name;

	@ApiModelProperty(value = "最小值")
	@TableField("min_score")
	private float minScore;

	@ApiModelProperty(value = "最大值")
	@TableField("max_score")
	private float maxScore;

	@ApiModelProperty(value = "结果")
	@TableField("result")
	private String result;

	@ApiModelProperty(value = "建议")
	@TableField("suggest")
	private String suggest;

	@ApiModelProperty(value = "建议")
	@TableField("score")
	private int score;


}
